/*
* @Author: steven.wang
* @Date:   2019-03-23 03:48:05
* @Last Modified by:   steven.wang
* @Last Modified time: 2019-05-13 14:46:21
*/
var express = require('express');
var router = express.Router();
var jobController = require('../../controllers/crawler/job');

// 获取职位列表
router.get('/list', jobController.list);
// 添加职位
router.post('/add', jobController.addJobs);
// 更新职位
router.put('/update', jobController.updateJobs);
// 删除职位
router.delete('/delete', jobController.deleteJobs);

module.exports = router;